﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="cart.ascx.cs" Inherits="usercontrols_cart" %>
<div class="warp_page">
    <!--end #wrap_name_sp-->
    <!--end #data_head-->
    <div class="warp_bt">
        <div class="con_up_shopping">
            <a href="#">
                <img alt="" src="images/con_shopping.png" border="0" /></a></div>
        <div class="con_up_shopping">
            <a href="#">
                <img alt="" src="images/update-cart.png" border="0" /></a></div>
        <div class="check_out">
            <a href="#">
                <img alt="" src="images/check-out.png" border="0" /></a></div>
    </div>
    <asp:DataList ID="dtlCart" CssClass="tb-cart" runat="server" Visible="false">
        <HeaderTemplate>
            <tr class="header">
                <th style="width: 40px;">
                </th>
                <th style="width: 180px;">
                    Image
                </th>
                <th style="width: 400px;">
                    Product Title
                </th>
                <th>
                    Item#
                </th>
                <th style="width: 70px;">
                    Quantity
                </th>
                <th style="width: 100px;">
                    Price
                </th>
            </tr>
        </HeaderTemplate>
        <ItemTemplate>
            <tr class="items">
                <td align="center">
                    <img alt="" src="images/edit-trash.png" width="14" height="16" /></div>
                </td>
                <td align="center">
                    <%#LinkImage(Eval("ImageURL"), Eval("ProductID"), Eval("CategoryID"))%>
                </td>
                <td >
                    <%#LinkHeader(Eval("ProductID"), Eval("Name"), Eval("CategoryID"))%>
                </td>
                <td align="center">
                   <b> <%#Eval("Code")%></b>
                </td>
                <td align="center">
                    <asp:TextBox ID="txtQuantity" CssClass="textbox_q" MaxLength="2" Text='<%#Eval("Quantity") %>'
                        runat="server" onkeyup="AcceptDigits(this)"></asp:TextBox>
                </td>
                <td align="right">
                    <%# Price(Eval("Price"))%>
                </td>
            </tr>
        </ItemTemplate>
        <FooterTemplate>
            <tr class="footer">
                <th colspan="2">
                    Calculate shipping cost
                </th>
                <th colspan="2">
                    CART TOTAL :
                </th>
                <th colspan="2">
                   <span class="total">
                       <asp:Label ID="lblTotal" runat="server" Text=""></asp:Label></span>
                </th>
            </tr>
        </FooterTemplate>
    </asp:DataList>
    <div class="warp_bt">
        <div class="con_up_shopping">
            <a href="#">
                <img src="images/con_shopping.png" border="0" /></a></div>
        <div class="con_up_shopping">
            <a href="#">
                <img src="images/update-cart.png" border="0" /></a></div>
        <div class="check_out">
            <a href="#">
                <img src="images/check-out.png" border="0" /></a></div>
    </div>
    <!--end #warp_item-->
</div>
<%-- <!--end #im_big-->
    <div class="sp_other">
        <div class="head_other">
            <strong>OTHER PRODUCTS YOTO MIGHT CONSIDER</strong></div>
        <!--end .head_other-->
        <div class="warp_item_other">
            <div class="im_other">
                <img src="images/im_other.jpg"></div>
            <div class="info_item_other">
                <strong class="name_item_other">450 Carrying Case</strong><br />
                <span class="price_item_other"><strong>$420</strong></span><br />
                <img src="images/star_on.png" width="16" height="16" />
                <img src="images/star_on.png" width="16" height="16" /><img src="images/star_on.png"
                    width="16" height="16" /><img src="images/star_on.png" width="16" height="16" /><img
                        src="images/star_on.png" width="16" height="16" /><br />
                <img src="images/bt_addcart.jpg" width="97" height="26" />
            </div>
        </div>
        <!--end .warp_item_other-->
        <div class="warp_item_other">
            <div class="im_other">
                <img src="images/im_other.jpg"></div>
            <div class="info_item_other">
                <strong class="name_item_other">450 Carrying Case</strong><br />
                <span class="price_item_other"><strong>$420</strong></span><br />
                <img src="images/star_on.png" width="16" height="16" />
                <img src="images/star_on.png" width="16" height="16" /><img src="images/star_on.png"
                    width="16" height="16" /><img src="images/star_on.png" width="16" height="16" /><img
                        src="images/star_on.png" width="16" height="16" /><br />
                <img src="images/bt_addcart.jpg" width="97" height="26" />
            </div>
        </div>
        <!--end .warp_item_other-->
    </div>
    <!--end #sp_other-->--%>
<!--end #warp_bt-->
